<?php
/**
 * mock_fmw_api
 * ErpWsbController.php
 * @author: Heze
 * Date: 2025/4/16 16:51
 */

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class ErpWsbController extends Controller
{
    public function index(Request $request)
    {
        return response()->json([
            'success' => [
                'E1M100030K1BLKCI00L',
                'E1M100030K1BLKCI002'
            ]
        ], 200);


        return response()->json([
            "UpdateTime" => "2025-04-06 12:59:02",
            "EBusinessID" => "1375910",
            "Success" => false,
            "Reason" => "业务错误[手机尾号不正确]"
        ], 400);
    }
}
